home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Configuration / UPS Monitor 1.4 / UPS Monitor Readme next >
Text File  |  1993-10-12  |  4KB  |  129 lines

  1. UPS Monitor 1.4
  2. written by Yair Elharrar, July 1993
  3.  
  4.  
  5.  
  6. UPS Monitor is a small hack, used to determine the status of a
  7. serial-connected UPS. Many UPSes come with a DB-9 serial port, which serves
  8. as a status line.
  9.  
  10. You can connect the UPS to either the modem or printer port, but be sure to
  11. wire the cable according to your needs. The Mains Fail Relay should be wired
  12. to the TxD-/RxD- pins on the Mac serial port and the Battery Low Relay should
  13. be wired to the HSKi/Ground pins on the Mac serial port (i.e. if the power
  14. fails, the TxD- and RxD- pins should contact etc.).
  15. You can use Normally-Closed relays if your UPS supports them. This is useful
  16. to test if the wire is broken etc.
  17. If you choose the Normally-Closed Power Fail option, wire your cable so that
  18. when the power fails the TxD- and RxD- pins should DISCONNECT. The same goes
  19. for the Battery Low relays.
  20.  
  21.  
  22. --
  23. To connect a TENSOR T-106B UPS, use the following wiring scheme:
  24.  
  25.     Pin on Mac Serial Port            Pin on UPS
  26.         3                    2
  27.         5                    7
  28.         2                    5
  29.         4                    8
  30.  
  31. With this wiring, both relays are normally closed.
  32.  
  33. --
  34. To connect a APC-400 UPS, use the following wiring scheme:
  35.  
  36.     Pin on Mac serial Port            Pin on UPS
  37.         3                    4
  38.         5                    6
  39.  
  40. Only the power failure relay is connected, and it's normally closed.
  41. With this wiring, use the timed automatic shutdown.
  42.  
  43. --
  44. See below for help on wiring other types of UPSes.
  45. --
  46.  
  47. UPS Monitor sends status requests to the UPS, notifies you if the system is
  48. on battery power, and shuts down your Mac automatically after a specified
  49. period of time. You can disable the automatic shutdown or the battery alert,
  50. and change the status request rate (default is one every 15 seconds).
  51.  
  52. After connecting the UPS to your Mac, run UPS Monitor and choose
  53. "Configure" from the menu. Configure it according to your needs and click
  54. OK. Put UPS Monitor in your "Startup Items" folder in the System Folder.
  55.  
  56. Suggested configuration: no automatic shutdown, 15 seconds scan interval,
  57. Logfile on, Shutdown on Battery Low on.
  58.  
  59.  
  60. ***
  61. QuadraLink and other external-port users:
  62.  
  63.  
  64.  
  65. UPS Monitor has been tested on a Classic II and a IIci, both running System 7.1.
  66.  
  67.  
  68. Changes since version 1.3
  69. -------------------------
  70.  
  71. * Dialog box redesigned to avoid confusion.
  72. * Alert option removed.
  73. * Added QuadraLink support.
  74.  
  75. Changes since version 1.2
  76. -------------------------
  77.  
  78. * Fixed a few bugs: "File" menu stayed highlighted after configuring, the
  79.   baud setting always defaulted to 2400 baud, the Select Logfile button
  80.   didn't work.
  81. * Added a full VERS resource.
  82. * Changed the main GetNextEvent call to WaitNextEvent, thus making UPSMon
  83.   less CPU intensive.
  84. * Added an option to monitor normally closed relay contacts.
  85.  
  86.  
  87. Changes since version 1.1
  88. -------------------------
  89.  
  90. * Added Log file option.
  91. * Added Modem/Printer port selection.
  92. * Added "Battery Low" mode support.
  93.  
  94.  
  95. Changes since version 1.0
  96. -------------------------
  97.  
  98. * Fixed a bug that caused UPS Monitor to refuse to quit when shutting down
  99.   or restarting.
  100. * Added AppleEvent QUIT support.
  101. * Changed the menu title to "File" instead of "Monitor" to help system 6
  102.   users quit UPS Monitor automatically.
  103.  
  104.  
  105.  
  106. Comments, bug reports etc. - send email to
  107.  
  108.     Internet:    elharrar@bimacs.cs.biu.ac.il
  109.     Bitnet:        elharrar@bimacs.bitnet
  110.  
  111. or
  112.  
  113.     Fax:    (Intl.)    972-3-6735203
  114.  
  115. If you need help on how to wire the cable, send me the wiring scheme of
  116. your UPS's port via e-mail or Fax.
  117.  
  118. UPS Monitor is shareware and may be freely distributed as long as no
  119. modifications are made and this text file is included. If you decide to
  120. keep it, please send a donation of $15 to:
  121.  
  122.         Yair Elharrar
  123.         71 Krinitzi st.
  124.         Ramat-Gan 52423
  125.         Israel
  126.  
  127.  
  128. Portions of this program Copyright ©1986 THINK Technologies, Inc.
  129.